package com.sm.dao;

import com.sm.model.Dynamic;
import com.sm.model.DynamicCollect;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface DynamicCollectMapper {
    void addDynamicCollect(DynamicCollect dynamicCollect);

    List<DynamicCollect> collectComment(@Param("collectUser") Integer collectUser);

    void deleteCollect(@Param("collectUser") Integer collectUser);
//收藏次数
    int selectUserNumber(@Param("dynamicId")Integer dynamicId);
}
